home *** CD-ROM | disk | FTP | other *** search
- Path: math.ohio-state.edu!usc!usenet
- From: cfong@sunset.usc.edu(???
- )
- Newsgroups: comp.lang.c
- Subject: file pointer(buffering problem)
- Date: 15 Mar 1996 17:53:13 GMT
- Organization: University of Southern California, Los Angeles, CA
- Sender: cfong@sunset.usc.edu
- Message-ID: <4icaq9$1e@usc.edu>
- NNTP-Posting-Host: sunset.usc.edu
-
- I hope you all can help me on this...
-
- I was wondering if there is a way that I can read and write
- a same file at the same time... without buffering the old stuff
-
- here is what I wanted to do:
-
- a text file of thousand lines:
-
- Jason Fong
- ...
- ..
- .
-
- All I wanted to change is the first line to:
-
- Jason
- ...
- ..
- .
-
- Is there a way that I can update the file without buffering the whole
- file first!?!
-
- Thanks!!!
-
- J
-
-